package compiler.ast;

import java.io.PrintStream;

public class SignedFactor {
	Factor factor;
	char sign; // '*' or '/'
	
	public SignedFactor(char sign, Factor factor) {
		this.sign = sign;
		this.factor = factor;
	}
	
	public char getSign() {
		return sign;
	}

	public void printDotFormat(PrintStream out, String node) {
		factor.printDotFormat(out, node);
	}
}
